package la.foton.atividade.entity;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;


/**
 * The persistent class for the Categoria database table.
 */
@Entity
@NamedQuery(name = "Categoria.findAll", query = "SELECT t FROM Categoria t")
public class Categoria implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="\"id\"")
	private Integer id;

   @Column(name = "\"nome\"")
   private String nome;

	public Categoria() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

   public String getNome()
   {
      return this.nome;
	}

   public void setNome(String nome)
   {
      this.nome = nome;
	}

}